/**
 * @date: 2025/3/20
 * @author: 小红
 * @fileName: UserEntity
 * @Description: 用户接口
 */

export interface LoginEntity {
  userId: number // 用户id
  accessToken: string // 访问令牌
  refreshToken: string // 刷新令牌
  expiresTime: string // 日期时间字符串
}

export interface TenantEntity {
  id?: number
  name?: string
  logo?: string
  status?: number
  isLastLogin?: boolean
}

export interface UserInfoEntity {
  id?: number
  strId?: string
  firstName?: string
  lastName?: string
  initialLetter?: string
  nickname?: string
  email?: string
  mobile?: string
  sex?: number
  avatar?: string
  remark?: string | null
  [keys: string]: any
}

export interface SceneValidEntity {
  key: string
  tenants: TenantEntity[]
}
